﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Lifang.Common
{
    public class CommonResult
    {
        public CommonResult()
        {
            Success = true;

            Message = "操作成功";

            Code = 1000;

            Dic = new Dictionary<string, object>();
        }


        /// <summary>
        /// 成功 
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 返回码
        /// </summary>
        public int Code { get; set; }


        /// <summary>
        /// 附属信息
        /// </summary>
        public Dictionary<string, object> Dic { get; set; }
    }
}
